<template>
  <div class="container">
    <div class="header"></div>
    <div class="main">
      <rich-text :text="text"></rich-text>
    </div>
    <div class="footer"></div>
  </div>
</template>

<script setup lang="ts">
import { ref } from "vue";
const text =
  ref(``);
</script>

<style lang="scss" scoped>
.container {
  width: 100%;
  height: auto;

  .header {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0 15px;
    width: 100%;
    height: 50px;
    background: #ffffff;
    box-shadow: 0 5px 5px rgba($color: #515151, $alpha: 0.1);
    box-sizing: border-box;
  }

  .main {
    margin: auto;
    width: 100%;
    max-width: 1000px;
    min-height: calc(100vh - 100px);
    background: #f7f7f7;
    box-sizing: border-box;
  }

  .footer {
    width: 100%;
    height: 50px;
    background: #ffffff;
    box-sizing: border-box;
  }
}
</style>
